//
//  ContactCell.h
//  Guazi
//
//  Created by koolearn on 11-5-8.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ContactCellView.h"
#import "User.h"
#import "ProfileImageCell.h"

@interface ContactCell : ProfileImageCell  {

	User* User;
    NSString* searchText;
    BOOL isSearching;
    
    UIButton* imageButton;
	ContactCellView* cellView;
}


@property (nonatomic, retain) User* user;
@property (nonatomic, retain) NSString* searchText;
@property (nonatomic, assign) BOOL isSearching;

- (void) update:(User*)auser frame:(CGRect)frame;
+ (CGFloat) getCellHeight:(User*)aUser isSearching:(BOOL)searching;

@end
